package com.marvels.product.param.dao;
import java.util.List;
import java.util.Map;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dto.McptMiscFeeDTO;
import com.marvels.product.param.dto.McptProduct;

public interface McptMiscFeeMapper {

    int deleteByPrimaryKey(McptMiscFeeDTO record);

    int insert(McptMiscFeeDTO record);


    McptMiscFeeDTO selectByPrimaryKey(Long miscFeeId);

    int updateByPrimaryKey(McptMiscFeeDTO record);
    
    /**
     * 获取列表
     * @param param
     * @return
     */
	List<McptMiscFeeDTO> getListByParam(Map<String, Object> param);

	int updateStatus(McptMiscFeeDTO dto);
	/**查询杂费
	 * @author 娄凯琦
	 * @date 2018年5月9日  
	 * @param dto
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public McptMiscFeeDTO selectMiscFeeByMiscFeeCode(McptProduct dto) throws MarvelsBusinessException;
}